using namespace std;
#include <stdio.h>
class MyQueue
{
private:
    int head;
    int tail;
    int size;
    int capacity;
    int *queue;
    /* data */
public:
    MyQueue(int capacity);
    ~MyQueue();
    void enqueue(int val);
    int dequeue();
    bool isFull();
    bool isEmpty();
    void traverse();
};

